<ul class="maintabmenu multipletabmenu">
    <li class="current"><a href="<?php echo base_url(); ?>administrator/members">Tất cả thành viên</a></li>
    <li><a href="<?php echo base_url(); ?>administrator/members/add">Thêm thành viên</a></li>    
</ul>
<div class="content">
    <div class="contenttitle radiusbottom0">
        <h2 class="table"><span>Danh sách thành viên</span></h2>
    </div>
    <div class="tableoptions">
        <button title="table2" class="deletebutton radius3" value="<?php echo base_url();?>administrator/members/delete">Delete Selected</button>
    </div>
    <table cellspacing="0" cellpadding="0" border="0" class="stdtable stdtablecb" id="table2">
        <colgroup>
            <col class="con0">
            <col class="con1">
            <col class="con0">
            <col class="con1">
            <col class="con0">
            <col class="con1">
            <col class="con0">
        </colgroup>
        <thead>
            <tr>
                <th class="head0"><span class="checkbox"><input type="checkbox" class="checkall"></span></th>
                <th class="head1">Tên thành viên</th>
                <th class="head0">Vị trí</th>
                <th class="head1">Facebook</th>
                <th class="head0">Skype</th>
                <th class="head1">Điện thoại</th>
                <th class="head0">Email</th>
                <th class="head1">&nbsp;</th>
            </tr>
        </thead>
        <tfoot>
            <tr>
                <th class="head0"><span class="checkbox"><input type="checkbox" class="checkall"></span></th>
                <th class="head1">Tên thành viên</th>
                <th class="head0">Vị trí</th>
                <th class="head1">Facebook</th>
                <th class="head0">Skype</th>
                <th class="head1">Điện thoại</th>
                <th class="head0">Email</th>
                <th class="head1">&nbsp;</th>
            </tr>
        </tfoot>
        <tbody>
            <?php foreach ($members as $member){?>
            <tr>
                <td class="center"><span class="checkbox"><input type="checkbox" value="<?php echo $member->id;?>"></span></td>
                <td><?php echo $member->name;?></td>
                <td><?php echo $member->position;?></td>
                <td><?php echo $member->facebook;?></td>
                <td><?php echo $member->skype;?></td>
                <td><?php echo $member->phone;?></td>
                <td><?php echo $member->email;?></td>                
                <td class="center"><a class="edit" href="<?php echo base_url();?>administrator/members/edit/<?php echo $member->id;?>">Sửa</a> &nbsp; <a class="delete" href="<?php echo base_url();?>administrator/members/delete" id="<?php echo $member->id;?>" >Xóa</a></td>
            </tr>
            <?php }?>
        </tbody>
    </table>    
</div>

